package com.j01y.myhooks.Handlers;

import com.virjar.sekiro.api.ActionHandler;
import com.virjar.sekiro.api.SekiroRequest;
import com.virjar.sekiro.api.SekiroResponse;

/**
 * 测试用
 */
public class SekiroServiceHandler implements ActionHandler {
    @Override
    public String action() {
        return "test";  // 指定请求时的action
    }

    @Override
    public void handleRequest(SekiroRequest sekiroRequest, SekiroResponse sekiroResponse) {
        // 这里编写RPC逻辑
        sekiroResponse.send("Hello Sekiro");
    }
}
